package cn.edu.scau.cmi.mingjunhui.singleton;

public class ChairMan {
	private static ChairMan one = null;
	private String name;
	private ChairMan(String _name) {
		this.name = _name;
	}
	public String getName() {
		return this.name;
	}
	public static ChairMan getInstance(String _name) {
		if(one == null) {
			one = new ChairMan(_name);
			return one;
		}
		else {
			return one;
		}
	}
}
